package com.woniu.web.mapper;

import com.woniu.common.entity.TbJpHospitalDepartment;
import com.woniu.common.entity.TbJpHospitalDepartmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbJpHospitalDepartmentDao {
    long countByExample(TbJpHospitalDepartmentExample example);

    int deleteByExample(TbJpHospitalDepartmentExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbJpHospitalDepartment record);

    int insertSelective(TbJpHospitalDepartment record);

    List<TbJpHospitalDepartment> selectByExample(TbJpHospitalDepartmentExample example);

    TbJpHospitalDepartment selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbJpHospitalDepartment record, @Param("example") TbJpHospitalDepartmentExample example);

    int updateByExample(@Param("record") TbJpHospitalDepartment record, @Param("example") TbJpHospitalDepartmentExample example);

    int updateByPrimaryKeySelective(TbJpHospitalDepartment record);

    int updateByPrimaryKey(TbJpHospitalDepartment record);
}